import { proxyRequest } from '@core/utils/request';

export interface AppPublicConfig {
  availableSubApps: string[],
}

export default class Config {
  static fetchPublic = () => {
    return proxyRequest.get<unknown, AppPublicConfig>('/config');
  };
}
